//组件
import App from './App.vue'
import router from './router/index.js'
//插件
import vue from 'vue'
import Mint from 'mint-ui'
import vueResource from 'vue-resource'
import moment from 'moment'
//css样式
import 'mint-ui/lib/style.css'
import '../static/mui/css/mui.css'
import '../static/css/site.css'
//apidomain
import common from './kits/common.js'
//mintui js function
import { Toast } from 'mint-ui';
vue.prototype.$common=common;
vue.prototype.$toast=Toast;
vue.use(Mint);
vue.use(vueResource);
vue.filter('datefmt',(inp,fmtstring)=>{
   return moment(inp).format(fmtstring)
})
var vm =  new vue({
    el:'#app',
    router:router,
    render:c=>c(App)
})